home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 June / PCWorld_2007-06_cd.bin / v cisle / rainmeter / Rainmeter-0.14-32bit.exe / Skins / Tranquil / Weather / New York.ini < prev    next >
INI File  |  2006-01-20  |  9KB  |  365 lines

  1. ;
  2. ; Rainmeter configuration file
  3. ;
  4. ; Change the location like this:
  5. ; - Take a copy of this ini-file and rename it to match your location (e.g. Kabul.ini)
  6. ; - Go to http://www.rssweather.com and find your location (make sure that the page 
  7. ;   actually has some weather information).
  8. ; - Take a copy of the url and put it in the URL2-field in the [Variables]-section below.
  9. ; - Click the "Custom RSS 2.0 Feed"-link on the left side of the page.
  10. ; - Set the options how you like them.
  11. ; - The "Forecast Options" should be set to "Don't Show" since the skin doesn't show the forecast.
  12. ; - Set the "Present as" in Rss Options to "XHTML Body".
  13. ; - Click the RSS-button in the bottom right of the page and you should get a page with some
  14. ;   text and the weather info. The page might look a bit messy, but don't worry about that.
  15. ; - Take a copy of the url and put it in the URL-field in the [Variables]-section below.
  16. ; - That's it. Refresh Rainmeter and select your newly created ini-file.
  17. ;
  18. ; Notes:
  19. ; - Do not decrease the update rate or your IP might get banned by the rssweather.com for
  20. ;   requesting the page too often.
  21. ; - If you get the "Server Busy" message, wait a while and refresh the config (or wait 
  22. ;   until it reads the info again). You can read the weather info from rssweather about
  23. ;   once per hour.
  24.  
  25. [Variables]
  26. URL=http://www.rssweather.com/rss.php?hwvUT=F&hwvUP=in&hwvUS=mph&hwvUV=mi&hwvCCChange=forecast&hwvSF=N&maxdays=2&daysonly=2&hwvStyle=body&place=new%2Byork&state=ny&zipcode=10001&country=us&county=36061&zone=NYZ072&alt=rss20a
  27. URL2=http://www.rssweather.com/hw3.php?pands=new%20york,ny
  28. HideAll=[!RainmeterHideMeter MeterHumidity][!RainmeterHideMeter MeterWindSpeed][!RainmeterHideMeter MeterPressure][!RainmeterHideMeter MeterDewPoint][!RainmeterHideMeter MeterHeatIndex][!RainmeterHideMeter MeterWindChill][!RainmeterHideMeter MeterVisibility]
  29.  
  30. [Rainmeter]
  31. Background=bg.png
  32. Author=Rainy (rainy@iki.fi)
  33. Update=1000
  34. AppVersion=1001
  35.  
  36. ;
  37. ; Measures
  38. ;
  39.  
  40. [MeasureWeather]
  41. Measure=Plugin
  42. Plugin=Plugins\WebParser.dll
  43. UpdateRate=3600
  44. Url=#URL#
  45. RegExp="(?si)(rss version="(.*?)">(.*?)<title>Slow Down</title>)|(<title>(.*?) Weather</title>(.*?)fcicons/(.*?).gif(.*)<span class="temp">(.*?)</span>(.*?)humidity" style="display: inline;">(.*?)</dd>(.*?)windspeed" style="display: inline;">((.*?)</dd>(.*?)winddir" style="display: inline;">(.*?) \((.*?)°\)</dd>|Calm</dd>||VRB </dd>)(.*?)pressure" style="display: inline;">(.*?)</dd>(.*?)dewpoint" style="display: inline;">(.*?)</dd>(.*?)heatindex" style="display: inline;">(.*)</dd>(.*?)windchill" style="display: inline;">(.*?)</dd>(.*?)visibility" style="display: inline;">(.*?)</dd>)"
  46. StringIndex=2
  47. ;Debug=1
  48. IfAboveValue=0
  49. IfAboveAction=!RainmeterShowMeter MeterBusy
  50. IfBelowValue=2
  51. IfBelowAction=!RainmeterHideMeter MeterBusy
  52.  
  53. [MeasureTitle]
  54. Measure=Plugin
  55. Plugin=Plugins\WebParser.dll
  56. Url=[MeasureWeather]
  57. StringIndex=5
  58.  
  59. [MeasureIcon]
  60. Measure=Plugin
  61. Plugin=Plugins\WebParser.dll
  62. Url=[MeasureWeather]
  63. StringIndex=7
  64.  
  65. [MeasureTemp]
  66. Measure=Plugin
  67. Plugin=Plugins\WebParser.dll
  68. Url=[MeasureWeather]
  69. StringIndex=9
  70. Substitute="°":"░"
  71.  
  72. [MeasureHumidity]
  73. Measure=Plugin
  74. Plugin=Plugins\WebParser.dll
  75. Url=[MeasureWeather]
  76. StringIndex=11
  77.  
  78. [MeasureWindSpeed]
  79. Measure=Plugin
  80. Plugin=Plugins\WebParser.dll
  81. Url=[MeasureWeather]
  82. StringIndex=14
  83.  
  84. [MeasureWindDir]
  85. Measure=Plugin
  86. Plugin=Plugins\WebParser.dll
  87. Url=[MeasureWeather]
  88. StringIndex=17
  89. MaxValue=359
  90.  
  91. [MeasurePressure]
  92. Measure=Plugin
  93. Plugin=Plugins\WebParser.dll
  94. Url=[MeasureWeather]
  95. StringIndex=19
  96.  
  97. [MeasureDewPoint]
  98. Measure=Plugin
  99. Plugin=Plugins\WebParser.dll
  100. Url=[MeasureWeather]
  101. StringIndex=21
  102. Substitute="°":"░"
  103.  
  104. [MeasureHeatIndex]
  105. Measure=Plugin
  106. Plugin=Plugins\WebParser.dll
  107. Url=[MeasureWeather]
  108. StringIndex=23
  109. Substitute="°":"░"
  110.  
  111. [MeasureWindChill]
  112. Measure=Plugin
  113. Plugin=Plugins\WebParser.dll
  114. Url=[MeasureWeather]
  115. StringIndex=25
  116. Substitute="°":"░"
  117.  
  118. [MeasureVisibility]
  119. Measure=Plugin
  120. Plugin=Plugins\WebParser.dll
  121. Url=[MeasureWeather]
  122. StringIndex=27
  123.  
  124. ;
  125. ; These measures cycle the information under the temperature. The idea here is 
  126. ; that the Counter will increase by on one every update-cycle, so we'll just take
  127. ; a remainder of 70 from the value (there are 7 different items) so that we get
  128. ; values from 0 to 69. Then just hide all and show one of them every time the
  129. ; value grows larger than a certain number (the actions are executed only when
  130. ; the bypasses the value). 
  131.  
  132. [MeasureCycle1]
  133. Measure=Calc
  134. Formula=Counter % 70
  135. IfAboveValue=5
  136. IfAboveAction=!execute #HideAll#[!RainmeterShowMeter MeterHumidity]
  137.  
  138. [MeasureCycle2]
  139. Measure=Calc
  140. Formula=Counter % 70
  141. IfAboveValue=15
  142. IfAboveAction=!execute #HideAll#[!RainmeterShowMeter MeterWindSpeed]
  143.  
  144. [MeasureCycle3]
  145. Measure=Calc
  146. Formula=Counter % 70
  147. IfAboveValue=25
  148. IfAboveAction=!execute #HideAll#[!RainmeterShowMeter MeterPressure]
  149.  
  150. [MeasureCycle4]
  151. Measure=Calc
  152. Formula=Counter % 70
  153. IfAboveValue=35
  154. IfAboveAction=!execute #HideAll#[!RainmeterShowMeter MeterDewPoint]
  155.  
  156. [MeasureCycle5]
  157. Measure=Calc
  158. Formula=Counter % 70
  159. IfAboveValue=45
  160. IfAboveAction=!execute #HideAll#[!RainmeterShowMeter MeterHeatIndex]
  161.  
  162. [MeasureCycle6]
  163. Measure=Calc
  164. Formula=Counter % 70
  165. IfAboveValue=55
  166. IfAboveAction=!execute #HideAll#[!RainmeterShowMeter MeterWindChill]
  167.  
  168. [MeasureCycle7]
  169. Measure=Calc
  170. Formula=Counter % 70
  171. IfAboveValue=65
  172. IfAboveAction=!execute #HideAll#[!RainmeterShowMeter MeterVisibility]
  173.  
  174. ;
  175. ; Meters
  176. ;
  177.  
  178. [MeterBusy]
  179. Meter=STRING
  180. X=95
  181. Y=30
  182. FontColor=0, 0, 0
  183. StringStyle=NORMAL
  184. FontSize=12
  185. StringAlign=CENTER
  186. FontFace=Arial
  187. Antialias=1
  188. Hidden=1
  189. Text="Server Busy"
  190.  
  191. [MeterTitle]
  192. MeasureName=MeasureTitle
  193. Meter=STRING
  194. X=95
  195. Y=65
  196. H=10
  197. W=150
  198. FontColor=0, 0, 0
  199. StringStyle=NORMAL
  200. FontSize=8
  201. StringAlign=CENTER
  202. FontFace=Arial
  203. Antialias=1
  204. MouseOverAction=!execute [!RainmeterShowMeter MeterTitle2][!RainmeterHideMeter MeterTitle][!RainmeterRedraw]
  205.  
  206. [MeterTitle2]
  207. MeasureName=MeasureTitle
  208. Meter=STRING
  209. X=95
  210. Y=65
  211. H=10
  212. W=150
  213. FontColor=255,255,255
  214. StringStyle=NORMAL
  215. FontSize=8
  216. StringAlign=CENTER
  217. FontFace=Arial
  218. Antialias=1
  219. Hidden=1
  220. MouseLeaveAction=!execute [!RainmeterHideMeter MeterTitle2][!RainmeterShowMeter MeterTitle][!RainmeterRedraw]
  221. LeftMouseDownAction=#URL2#
  222.  
  223. [MeterIcon]
  224. MeasureName=MeasureIcon
  225. Meter=IMAGE
  226. X=15
  227. Y=10
  228. LeftMouseDownAction=!execute [!RainmeterHideMeter MeterIcon][!RainmeterShowMeter MeterWindDir1][!RainmeterShowMeter MeterWindDir2][!RainmeterRedraw]
  229.  
  230. [MeterWindDir1]
  231. Meter=IMAGE
  232. X=15
  233. Y=10
  234. ImageName=nesw.png
  235. LeftMouseDownAction=!execute [!RainmeterHideMeter MeterWindDir1][!RainmeterHideMeter MeterWindDir2][!RainmeterShowMeter MeterIcon][!RainmeterRedraw]
  236. Hidden=1
  237.  
  238. [MeterWindDir2]
  239. MeasureName=MeasureWindDir
  240. Meter=ROTATOR
  241. X=15
  242. Y=10
  243. W=64
  244. H=64
  245. ImageName=arrow.png
  246. StartAngle=4.7124
  247. OffsetY=7
  248. Hidden=1
  249.  
  250. [MeterTemp]
  251. MeasureName=MeasureTemp
  252. Meter=STRING
  253. X=170
  254. Y=15
  255. FontColor=0, 0, 0
  256. StringStyle=BOLD
  257. FontSize=24
  258. StringAlign=RIGHT
  259. FontFace=Arial
  260. Antialias=1
  261.  
  262. [MeterHumidity]
  263. MeasureName=MeasureHumidity
  264. Meter=STRING
  265. X=170
  266. Y=50
  267. FontColor=0, 0, 0
  268. StringStyle=NORMAL
  269. FontSize=8
  270. StringAlign=RIGHT
  271. FontFace=Arial
  272. Prefix="Humidity: "
  273. Antialias=1
  274. Hidden=0
  275.  
  276. [MeterWindSpeed]
  277. MeasureName=MeasureWindSpeed
  278. Meter=STRING
  279. X=0r
  280. Y=0r
  281. FontColor=0, 0, 0
  282. StringStyle=NORMAL
  283. FontSize=8
  284. StringAlign=RIGHT
  285. FontFace=Arial
  286. Prefix="Wind Speed: "
  287. Antialias=1
  288. Hidden=1
  289.  
  290. [MeterPressure]
  291. MeasureName=MeasurePressure
  292. Meter=STRING
  293. X=0r
  294. Y=0r
  295. FontColor=0, 0, 0
  296. StringStyle=NORMAL
  297. FontSize=8
  298. StringAlign=RIGHT
  299. FontFace=Arial
  300. Prefix="Pressure: "
  301. Antialias=1
  302. Hidden=1
  303.  
  304. [MeterDewPoint]
  305. MeasureName=MeasureDewPoint
  306. Meter=STRING
  307. X=0r
  308. Y=0r
  309. FontColor=0, 0, 0
  310. StringStyle=NORMAL
  311. FontSize=8
  312. StringAlign=RIGHT
  313. FontFace=Arial
  314. Prefix="Dew Point: "
  315. Antialias=1
  316. Hidden=1
  317.  
  318. [MeterHeatIndex]
  319. MeasureName=MeasureHeatIndex
  320. Meter=STRING
  321. X=0r
  322. Y=0r
  323. FontColor=0, 0, 0
  324. StringStyle=NORMAL
  325. FontSize=8
  326. StringAlign=RIGHT
  327. FontFace=Arial
  328. Prefix="Heat Index: "
  329. Antialias=1
  330. Hidden=1
  331.  
  332. [MeterWindChill]
  333. MeasureName=MeasureWindChill
  334. Meter=STRING
  335. X=0r
  336. Y=0r
  337. FontColor=0, 0, 0
  338. StringStyle=NORMAL
  339. FontSize=8
  340. StringAlign=RIGHT
  341. FontFace=Arial
  342. Prefix="Wind Chill: "
  343. Antialias=1
  344. Hidden=1
  345.  
  346. [MeterVisibility]
  347. MeasureName=MeasureVisibility
  348. Meter=STRING
  349. X=0r
  350. Y=0r
  351. FontColor=0, 0, 0
  352. StringStyle=NORMAL
  353. FontSize=8
  354. StringAlign=RIGHT
  355. FontFace=Arial
  356. Prefix="Visibility: "
  357. Antialias=1
  358. Hidden=1
  359.  
  360. [MeterShine]
  361. Meter=IMAGE
  362. X=0
  363. Y=0
  364. ImageName=shine.png
  365.